package com.shine.app.bean;

import com.google.gson.annotations.SerializedName;
import com.shine.app.commons.StringUtils;

public class GolfCourseDetailBean extends BaseBean {

	private static final long serialVersionUID = 1L;
	@SerializedName("Id")
	private int id;
	@SerializedName("Name")
	private String name;
	@SerializedName("Latitude")
	private double latitude;
	@SerializedName("Longitude")
	private double longitude;
	@SerializedName("ReviewAverage")
	private double reviewAverage;
	@SerializedName("Description")
	private String description;
	@SerializedName("LengthInMeters")
	private double lengthInMeters;
	@SerializedName("NumberOfHoles")
	private int numberOfHoles;
	@SerializedName("Homepage")
	private String homepage;
	@SerializedName("ReviewCount")
	private int reviewCount;
	@SerializedName("Par")
	private int par;
	@SerializedName("Rating")
	private double rating;
	@SerializedName("Slope")
	private int slope;
	@SerializedName("PhoneNumbers")
	private PhoneNumberBean[] phoneNumbers;
	@SerializedName("Addresses")
	private AddressBean[] addresses;
	@SerializedName("Images")
	private CourseImageBean[] images;
	@SerializedName("Scorecard")
	private ScoreCardBean scorecard;
	@SerializedName("Reviews")
	private ReviewBean[] reviews;
	@SerializedName("Tees")
	private TeeBean[] tees;
	@SerializedName("Attributes")
	private String[] attributes;
	@SerializedName("AverageRoundTimeWeekday")
	private double averageRoundTimeWeekday;
	@SerializedName("AverageRoundTimeWeekend")
	private double averageRoundTimeWeekend;
	@SerializedName("IsFavorite")
	private boolean isFavorite;
	@SerializedName("ContentStatus")
	private String contentStatus;
	@SerializedName("Currency")
	private String currency;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public double getLatitude() {
		return latitude;
	}

	public String getCurrency() {
		return currency;
	}

	public void setCurrency(String currency) {
		this.currency = currency;
	}

	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}

	public double getLongitude() {
		return longitude;
	}

	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public double getReviewAverage() {
		return reviewAverage;
	}

	public void setReviewAverage(double reviewAverage) {
		this.reviewAverage = reviewAverage;
	}

	public double getLengthInMeters() {
		return lengthInMeters;
	}

	public void setLengthInMeters(double lengthInMeters) {
		this.lengthInMeters = lengthInMeters;
	}

	public int getNumberOfHoles() {
		return numberOfHoles;
	}

	public void setNumberOfHoles(int numberOfHoles) {
		this.numberOfHoles = numberOfHoles;
	}

	public String getHomepage() {
		if (StringUtils.isEmpty(homepage)) {
			homepage = " ";
		}
		return homepage;
	}

	public void setHomepage(String homepage) {
		this.homepage = homepage;
	}

	public int getReviewCount() {
		return reviewCount;
	}

	public void setReviewCount(int reviewCount) {
		this.reviewCount = reviewCount;
	}

	public int getPar() {
		return par;
	}

	public void setPar(int par) {
		this.par = par;
	}

	public double getRating() {
		return rating;
	}

	public void setRating(double rating) {
		this.rating = rating;
	}

	public int getSlope() {
		return slope;
	}

	public void setSlope(int slope) {
		this.slope = slope;
	}

	public AddressBean[] getAddresses() {
		return addresses;
	}

	public void setAddresses(AddressBean[] addresses) {
		this.addresses = addresses;
	}

	public CourseImageBean[] getImages() {
		return images;
	}

	public void setImages(CourseImageBean[] images) {
		this.images = images;
	}

	public ScoreCardBean getScorecard() {
		return scorecard;
	}

	public void setScorecard(ScoreCardBean scorecard) {
		this.scorecard = scorecard;
	}

	public ReviewBean[] getReviews() {
		return reviews;
	}

	public void setReviews(ReviewBean[] reviews) {
		this.reviews = reviews;
	}

	public TeeBean[] getTees() {
		return tees;
	}

	public void setTees(TeeBean[] tees) {
		this.tees = tees;
	}

	public PhoneNumberBean[] getPhoneNumbers() {
		return phoneNumbers;
	}

	public void setPhoneNumbers(PhoneNumberBean[] phoneNumbers) {
		this.phoneNumbers = phoneNumbers;
	}

	public String[] getAttributes() {
		return attributes;
	}

	public void setAttributes(String[] attributes) {
		this.attributes = attributes;
	}

	public double getAverageRoundTimeWeekday() {
		return averageRoundTimeWeekday;
	}

	public void setAverageRoundTimeWeekday(double averageRoundTimeWeekday) {
		this.averageRoundTimeWeekday = averageRoundTimeWeekday;
	}

	public double getAverageRoundTimeWeekend() {
		return averageRoundTimeWeekend;
	}

	public void setAverageRoundTimeWeekend(double averageRoundTimeWeekend) {
		this.averageRoundTimeWeekend = averageRoundTimeWeekend;
	}

	public boolean isFavorite() {
		return isFavorite;
	}

	public void setFavorite(boolean isFavorite) {
		this.isFavorite = isFavorite;
	}

	public String getContentStatus() {
		return contentStatus;
	}

	public void setContentStatus(String contentStatus) {
		this.contentStatus = contentStatus;
	}

}
